package com.yuyou.fn.report.service;

import com.github.wens.framework.service.ISuperService;
import com.github.wens.mybatisplus.plugins.Page;
import com.yuyou.fn.report.entity.CostOfGradeSubject;
import com.yuyou.fn.report.vo.GradeSubjectCostQueryVo;
import com.yuyou.fn.report.vo.GradeSubjectCostVo;

import java.util.Date;
import java.util.List;

/**
 *
 * CostOfGradeSubject 表数据服务层接口
 *
 */
public interface ICostOfGradeSubjectService extends ISuperService<CostOfGradeSubject,Long> {

    List<CostOfGradeSubject> findCostByGradeIdsAndSubjectIds(List<Long> gradeIds,List<Long> subjectIds, List<Long> mainAccountIds, Date startDate, Date  endDate,String  ...columns);

    List<CostOfGradeSubject> findCostByGradeIdsAndSubjectIdsAndFeeCategoryIds(List<Long> gradeIds,List<Long> subjectIds, List<Long> mainAccountIds, Date startDate,Date  endDate,List<Long> feeCategoryIds);

    List<GradeSubjectCostVo> findGradeSubjectCost(GradeSubjectCostQueryVo gradeSubjectCostQueryVo);

    Page<CostOfGradeSubject> findGradeSubjectCostPage(GradeSubjectCostQueryVo gradeSubjectCostQueryVo,int pageNo,int pageSize);
}